@charset 'UTF-8';

body {
  .el-message {
    min-width: 0;
  }
}

.index-page {
  width: 100%;
  height: 100%;

  .page-center {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    .page-center-content {
      width: 1200px;
      height: 100%;
      font-size: 16px;
      display: flex;
      align-items: center;
    }
  }

  .page-nav {
    height: 30px;
    background: $text-blacks-color;
    color: #ccc;

    .nav-left {
      width: 50%;
      line-height: 30px;
      float: left;
      display: flex;
      align-items: center;

      span {
        cursor: pointer;

        &:hover {
          color: #fff;
        }
      }
    }

    .nav-right {
      width: 50%;
      text-align: right;
      display: flex;
      align-items: center;
      justify-content: flex-end;

      .el-dropdown {
        margin: 0 0 0 20px;
        color: #c4c3c3;

        &:hover,
        &:focus {
          color: #fff;
        }

        img {
          width: 20px;
          height: 20px;
          border-radius: 50%;
          margin: 0 5px 0 0;
        }
      }

      a {
        cursor: pointer;
        line-height: 30px;
        margin: 0 20px;
        display: inline-block;
        color: #c4c3c3;
        text-decoration: none;

        &:hover,
        &:focus {
          color: #fff;
        }

        img {
          width: 24px;
          height: 24px;
          border-radius: 50%;
          box-sizing: border-box;
        }
      }

      .nav-user-name {
        margin: 0;
      }
    }
  }

  .page-navs {
    background: $bg-color;
    height: 60px;
    display: flex;
    align-items: center;
    box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.1);

    .navs-logo {
      height: 40px;
      cursor: pointer;
    }

    .nvas-menu {
      height: 40px;
      margin: 0 auto;

      .el-menu-item {
        width: 100px;
        padding: 0;
        box-sizing: border-box;
        text-align: center;
        border-radius: $border-m-radius;
        font-size: $font-text-l-size;
        font-weight: 400;
        color: $text-black-color;
        margin: 0px 10px;
        display: flex;
        align-items: center;
        justify-content: center;

        a {
          border-radius: $border-m-radius;
          width: 100%;
          height: 100%;
          text-decoration: none;
        }

        .router-link-active {
          background: $theme-color;
          color: $bg-color;
          border: none;
        }
      }
    }
  }

  .page-content {
    width: 100%;
    min-height: 100px;
    background-color: #f2f2f2;

    .page-main-content {
      width: 1200px;
    }
  }

  .page-footer {
    width: 100%;
    height: 200px;

    .page-footer-content {
      width: 1200px;

      .footer-head-text {
        color: $text-blacks-color;
        font-size: $font-xs-size;
        margin: 0 0 22px 0;
      }

      .footer-sub-text {
        color: $text-grayss-color;
        font-size: $font-text-size;
        margin: 0 0 14px 0;
      }

      .page-footer-contents {
        height: 168px;
        width: 100%;

        img {
          margin: 0 10px 0 0;
        }

        .el-col {
          padding: 40px 0 0 0;
          box-sizing: border-box;
        }

        .footer-img {
          display: flex;
          justify-content: center;
          align-items: center;
        }

        .footer-right {
          div {
            text-align: right;
          }
        }
      }

      .page-footer-remark {
        width: 100%;
        height: 31px;
        border-top: 1px solid #dcdcdc;
        text-align: center;
        line-height: 31px;
        color: $text-grays-color;
        font-size: $font-xxs-size;
      }
    }
  }
}

//主页的样式
.invite-index {
  width: 100%;
  height: 100%;

  .invite-title {
    font-size: 36px;
    font-weight: 400;
    color: #222;
    text-align: center;
    padding: 60px 0 0 0;
    margin: 0 0 15px 0;
  }

  .invite-title-line {
    width: 40px;
    height: 6px;
    background: $theme-color;
    margin: 0 auto;
  }

  .index-top-banner {
    width: 100%;
    height: 550px;
    background: linear-gradient(135deg, #f0b237, #ffdf40);
  }

  .invite-page {
    width: 100%;
    display: flex;
    justify-content: center;

    .invite-page-center {
      width: 1200px;
    }
  }

  .invite-serve {
    width: 100%;
    height: 392px;
    background: $bg-color;

    .invite-serve-content {
      margin: 40px 0 0 0;
      width: 100%;
      height: 100%;

      .el-col {
        font-size: 30px;
        color: #333;
        display: flex;
        justify-content: center;
      }

      .serve-all {
        width: 130px;
        height: 100%;

        .serve-text {
          margin: 17px 0 0 0;
          font-size: 30px;
          font-weight: 400;
          color: #333333;
          text-align: center;
        }
      }
    }
  }

  .invite-content {
    width: 100%;
    height: 1033px;

    .invite-talents-job {
      .invite-talents-content {
        .el-row {
          margin: 40px 0 0 0;
        }

        .talents-content-row {
          display: flex;
          justify-content: space-between;

          .talents-list {
            margin: 0 auto;
            width: 360px;
            height: 200px;
            background: $bg-color;
            font-size: 24px;
            line-height: 55px;
            color: #222;
            display: flex;
            justify-content: center;
            align-items: center;

            img {
              height: 80px;
              display: block;
              margin: 0 auto;
            }
          }
        }
      }
    }

    .invite-famous-enterprise {
      .invite-famouse-enterprise {
        .famouse-enterprise-row {
          width: 100%;
          margin: 40px 0 0 0;
          padding-left: 11px;

          .famouse-list {
            margin: 10px 0px 10px 10px;
            width: 224px;
            height: 100px;
            background: $bg-color;
            display: flex;
            justify-content: center;
            align-items: center;
            float: left;
          }
        }
      }
    }
  }

  .invite-footer {
    width: 100%;
    height: 300px;
    background: $bg-color;

    .el-row {
      margin: 50px 0 0 0;
    }

    .footer-text {
      color: #666;
      font-size: 16px;
      line-height: 30px;
      display: inline-block;

      .footer-title {
        font-size: 20px;
        color: #333;
        font-weight: bold;
      }
    }

    .footer-text-center {
      display: flex;
      justify-content: center;
    }

    .footer-img {
      display: flex;
      justify-content: center;

      .footer-img-list {
        margin-left: 20px;

        div {
          text-align: center;
        }

        img {
          width: 100px;
          height: 100px;
        }
      }
    }

    .footer-link {

      color: #666;
      font-size: 16px;
    }
  }

  .footer-versions {
    height: 50px;
    background: #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #a9a9a9;
    font-size: 14px;

    img {
      margin: 0 10px 0 0;
      height: 20px;
    }
  }
}

//修改elementui中menu样式
.el-menu.el-menu--horizontal {
  border: none;
}

.el-menu--horizontal>.el-menu-item {
  height: 40px;
  line-height: 40px;
  border: none;
}

.el-menu--horizontal>.el-menu-item.is-active {
  border: none;
}

.el-dropdown-menu__item {
  &:hover {
    background: $bg-color;
    color: $theme-color;
  }
}